package com.njworkorder.Utils;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Tag(name = "响应体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    @Schema(description = "响应码")
    private Integer code;
    @Schema(description = "响应消息")
    private String msg;
    @Schema(description = "响应数据")
    private T data;
}
